package org.zhangyp.n03algorithm.n04Greedy;

import java.util.Arrays;
import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // 注意 hasNext 和 hasNextLine 的区别
        while (in.hasNext()) { // 注意 while 处理多个 case
            String line = in.nextLine();
            String[] sArr = line.split(" ");
            Arrays.sort(sArr);
            String s= String.join(" ", sArr);
            System.out.println(s);
        }
    }
}
